9 unsigned long long x
[31], y
[31], z
[31];
12 x
[0] = 1; y
[0] = 0; z
[0] = 2;
13 x
[1] = 0; y
[1] = 2; z
[1] = 0;
14 for (int i
=2; i
<=30; ++i
){
15 x
[i
] = x
[i
-2] + y
[i
-1];
17 z
[i
] = 2*x
[i
-1] + y
[i
-1];
20 while (cin
>> n
&& n
!= -1){